//
// Created by win10 on 2024/12/30.
//
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

struct ListNode {
    char code[8];
    struct ListNode *next;
};

struct ListNode *createlist(); /*裁判实现，细节不表*/
int countcs( struct ListNode *head ){
  int count = 0;
  struct ListNode *temp = head;
  while(temp != NULL){
    if(temp->code[1] == '0' && temp->code[2] == '2') count++;
    temp = temp->next;
    }
    return count;
}

int main()
{
    struct ListNode  *head;

    head = createlist();
    printf("%d\n", countcs(head));

    return 0;
}

/* 你的代码将被嵌在这里 */